from django.db import models

# Create your models here.
class UserInfo(models.Model):
    username=models.CharField(verbose_name='用户名',max_length=32,db_index=True) # db_index 创建索引
    mobile_phone = models.CharField(verbose_name='手机号', max_length=32)
    email=models.EmailField(verbose_name='QQ邮箱',max_length=32)
    password = models.CharField(verbose_name='密码',max_length=32)
